import React from 'react';
import { BrowserRouter as Router, Routes, Route } from 'react-router-dom';
import Svideo from "./Svideo";
import Userinf from "./Userinf"; // 确保导入Userinf组件
import Hisvideo from './Hisvideo'; // 确保导入Hvideo组件
import Joinmeeting from './Joinmeeting';
import Newvideo from './Newvideo';
import Detailmeeting from './Detailmeeting';
import Login from './Login';

function App() {
  
  return (    
      <Routes>
        <Route path="/" element={<Login />} />
        <Route path="/Svideo" element={<Svideo />} />
        <Route path="/Userinf" element={<Userinf />} />
        <Route path="/historyMeeting" element={<Hisvideo />} /> 
        <Route path="/joinMeeting" element={<Joinmeeting />} />
        <Route path="/Newmeeting" element={<Newvideo />} />
        <Route path="/detailMeeting" element={<Detailmeeting />} />
      </Routes>

  );
}

export default App;